﻿using FictionsDownload.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace FictionsDownload.UI.PopDialog
{
    public partial class FormDeleteDirectory : Form
    {
        public FormDeleteDirectory()
        {
            InitializeComponent();
        }

        private void btn_Cancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = (DialogResult)DeleteEnum.取消;
            this.Close();
        }

        private void btn_OK_Click(object sender, EventArgs e)
        {
            if (ckBox_CompletelyDelete.Checked)
            {
                this.DialogResult = (DialogResult)DeleteEnum.彻底删除;
            }
            else
            {
                this.DialogResult = (DialogResult)DeleteEnum.确定删除;
            }
            this.Close();
        }
    }
}
